import requests
from bs4 import BeautifulSoup
import pandas as pd

row=23
col=15

url = 'http://72.itmc.org.cn:80/JS001/open/show/random-num/index.html'
response = requests.get(url)
soup = BeautifulSoup(response.content, "html.parser")
table = soup.find('table')
# df = pd.read_html(str(table))[0]
df = pd.read_html(url)[0]
num = int(df.iloc[row - 1, col])
print(num)
